package com.bjb.vr.common.mapper;

import com.bjb.vr.common.ao.UmsUserRoleAo;
import com.bjb.vr.common.dto.UmsRole;
import com.bjb.vr.common.vo.DeptUmsRoleVo;
import com.bjb.vr.common.vo.UmsRoleVo;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admin
 * @description 针对表【ums_role(角色信息表)】的数据库操作Mapper
 * @createDate 2022-04-29 11:28:38
 * @Entity dto.UmsRole
 */
public interface UmsRoleMapper extends MPJBaseMapper<UmsRole> {

    List<String> queryPermsByUserId(Long userId);

    List<UmsRoleVo> queryRoleInfosByCondition(UmsUserRoleAo userRoleAo);

    List<DeptUmsRoleVo> queryRoleInfos();
}




